package cn.tedu.blackhorse.mapper;

import cn.tedu.blackhorse.pojo.entity.Class;
import cn.tedu.blackhorse.pojo.entity.KnewProblem;
import cn.tedu.blackhorse.pojo.vo.AdminStandardVO;
import cn.tedu.blackhorse.pojo.vo.KnewProblemListItemVO;
import cn.tedu.blackhorse.pojo.vo.KnewProblemStandardVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface KnewProblemMapper {
    int insert(KnewProblem knewProblem);

    int deleteById(Long id);

    int deleteByIds(List<Long> ids);

    int updateById(KnewProblem knewProblem);

    int count();

    List<KnewProblemListItemVO> list();

    KnewProblemStandardVO getById(Long id);

}
